@extends('admin.base')
    @section('content')
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            <i class="fa fa-calendar"></i>
			商品信息管理
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="#">商品信息管理</a></li>
            <li class="active">商品详情添加</li>
          </ol>
        </section>



<script type="text/javascript" charset="utf-8" 

src="{{asset('/editdd/ueditor.config.js')}}"></script>
    <script type="text/javascript" charset="utf-8" src="{{asset('/editdd/ueditor.all.min.js')}}"> 

</script>
  
    <script type="text/javascript" charset="utf-8" src="{{asset('/editdd/lang/zh-cn/zh-

cn.js')}}"></script>



        <!-- Main content -->
        <section class="content" align="left">
          <div class="row">
            <!-- right column -->
            <div class="col-md-12" align="left">
              <!-- Horizontal Form -->
              <div class="box box-primary" align="left">
                <div class="box-header with-border">
                  <h3 class="box-title"><i class="fa fa-plus"></i> 添加商品信息</h3>
                </div><!-- /.box-header -->
                <!-- form start -->
                <form action="{{url('admin/goodsDetail')}}" method="post" class="form-horizontal">
                  <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                  <div class="box-body" align="left">
                    <div class="form-group" align="left">
                      <label for="inputEmail3" class="col-sm-2 control-label">标题：</label>
                      <div class="col-sm-2">
                        <input type="text" name="title" class="form-control" id="inputEmail3" placeholder="varchar">
                      </div>
                      <label for="inputEmail3" class="col-sm-2 control-label">选择系列：</label>
                      <div class="col-sm-2">
                        <input type="text" name="xuanzexilie" class="form-control" id="inputEmail3" placeholder="如果有就填">
                      </div>
                      <label for="inputEmail3" class="col-sm-2 control-label">作者：</label>
                      <div class="col-sm-2">
                        <input type="text" name="auth" class="form-control" id="inputEmail3" placeholder="varchar">
                      </div>
                    </div>
                   
					<div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">出版社：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="varchar" name="chubanshe">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">出版时间：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="varchar" name="chubantime">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">版次：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="多少版" name="rank">
                      </div>
                    </div>
          <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">市场价：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="decimal" name="marketPrice">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">优惠价：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="decimal" name="youhuiPrice">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">VIP价格：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="decimal" name="vipPrice">
                      </div>
                    </div>
          <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">是否有货：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="有多少货，默认100" name="youhuo">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">页数：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="多少页" name="goodsNum">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">字数：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="多少字" name="goodType">
                      </div>
                    </div>
          
          <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">纯书名：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="varchar" name="goodName">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">关键字：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="当当供货吗" name="keyWord">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">是否促销：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="1：促销；0：不促销" name="cuxiao">
                      </div>
                    </div>
          
          <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">印刷时间：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="varchar" name="marketTime">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">开本：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="多大" name="newGood">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">纸张：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="胶版纸等" name="tuijian">
                      </div>
                    </div>
          
          <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">印次：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="tinyint：" name="jibie">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">包装：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="平装等" name="checked">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">丛书名：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="丛书名" name="click">
                      </div>
                    </div>
          
          <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">是否上架：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="0表示不上架，默认为0" name="pinglun">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">国际标准书号ISBN：</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="书号" name="jiaoyiNum">
                      </div>
                      <label for="inputPassword3" class="col-sm-2 control-label">所属分类</label>
                      <div class="col-sm-2">
                        <input type="text" class="form-control" placeholder="varhcar" name="luruTime">
                      </div>
                    </div>
          
          <div class="form-group">
                      <label for="inputPassword3" class="col-sm-2 control-label">内容：</label>
                      <div class="col-sm-6">
                        <!-- <input type="text" class="form-control" placeholder="varchar" name="contents"> -->
                        <textarea cols="200" rows="16" name="contents" class="form-control"></textarea>
                      </div>
                    </div>

<script id="editor" type="text/plain" style="width:1024px;height:500px;"  align='center' name="gooddetail"></script>


<script type="text/javascript">

  
    var ue = UE.getEditor('editor');
</script>






                  </div><!-- /.box-body -->
                  <div class="box-footer">
				    <div class="col-sm-offset-2 col-sm-2">
						<button type="submit" class="btn btn-primary">添加</button>
                    </div>
					<div class="col-sm-2">
						<button type="reset" class="btn btn-primary">重置</button>
					</div>
                  </div><!-- /.box-footer -->
            </form>
				<div class="row"><div class="col-sm-22">&nbsp;</div></div>
              </div><!-- /.box -->
       
            </div><!--/.col (right) -->
          </div>   <!-- /.row -->
        </section><!-- /.content -->
    @endsection